package com.cskaoyan.service;

import com.cskaoyan.bean.OrderInfoVO;
import com.cskaoyan.bean.wx_search.UserIndex;
import com.cskaoyan.bean.zhao_order_bean.*;
import com.cskaoyan.bean.BaseParam;

import java.util.Date;

/**
 * @Classname OrderService
 * @Description
 * @Date 2021/10/18 19:45
 * @Created by Zhao
 */
public interface OrderService {
    BasePageData query(Integer userId, String orderSn, Date start,
                       Date end, BaseParam param);

    DetailBasePageData detail(Integer id);

    void ship(Integer orderId, String shipChannel, String shipSn);

    void delete(Integer orderId);

    void refund(Integer orderId);

    BasePageData wxQuery(Short showType, BaseParam baseParam);

    void cancel(Integer orderId);

    OrderInfoVO wxDetail(Integer orderId);

    UserIndex selectOrderStatusNumByUserId(Integer id);

    int submit(SubmitBO submitBO);

    void prepay(Integer orderId);

    void wxRefund(Integer orderId);

    void confirm(Integer orderId);

    OrderGoods selectInfoGood(Integer orderId, Integer goodsId);
}
